package com.ming.base.authority.service;

import java.util.Set;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.ming.base.authority.dao.PermissionDao;
import com.ming.core.exception.BaseException;

/**
 * 权限Service
 * @author chenhuaming
 * @Time：2017年2月22日 下午5:25:18
 * @version 1.0
 */
@Service("permissionService")
public class PermissionService implements IPermissionService{
	@Resource(name="permissionDao")
	private PermissionDao permissionDao;
	@Override
	public Set<String> getPermissions(String loginAccount) throws BaseException {
		return permissionDao.getPermissions(loginAccount);
	}

}
